package com.ruoyi.parcel.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * parcel对象 e_advertisements
 *
 * @author ruoyi
 * @date 2024-11-28
 */
public class EAdvertisements extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID，广告记录的唯一标识 */
    private Long id;

    /** 广告标题，展示广告的主要内容 */
    @Excel(name = "广告标题，展示广告的主要内容")
    private String adTitle;

    /** 客户端，表明该广告适用于哪种客户端平台 */
    @Excel(name = "客户端，表明该广告适用于哪种客户端平台")
    private String client;

    /** 中文图片，与广告相关的中文图片资源信息 */
    @Excel(name = "中文图片，与广告相关的中文图片资源信息")
    private String chineseImage;

    /** 英文图片，与广告相关的英文图片资源信息 */
    @Excel(name = "英文图片，与广告相关的英文图片资源信息")
    private String englishImage;

    /** 推送时间，广告计划开始推送的具体时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "推送时间，广告计划开始推送的具体时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pushTime;

    /** 失效日期，广告失去效力的时间节点 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "失效日期，广告失去效力的时间节点", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expirationDate;

    /** 状态，体现广告当前所处的状态情况 */
    @Excel(name = "状态，体现广告当前所处的状态情况")
    private Integer status;

    /** 跳转链接，点击广告后将要跳转去的网页链接 */
    @Excel(name = "跳转链接，点击广告后将要跳转去的网页链接")
    private String jumpLink;

    /** 链接标题，跳转链接所对应的展示标题 */
    @Excel(name = "链接标题，跳转链接所对应的展示标题")
    private String linkTitle;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAdTitle(String adTitle)
    {
        this.adTitle = adTitle;
    }

    public String getAdTitle()
    {
        return adTitle;
    }
    public void setClient(String client)
    {
        this.client = client;
    }

    public String getClient()
    {
        return client;
    }
    public void setChineseImage(String chineseImage)
    {
        this.chineseImage = chineseImage;
    }

    public String getChineseImage()
    {
        return chineseImage;
    }
    public void setEnglishImage(String englishImage)
    {
        this.englishImage = englishImage;
    }

    public String getEnglishImage()
    {
        return englishImage;
    }
    public void setPushTime(Date pushTime)
    {
        this.pushTime = pushTime;
    }

    public Date getPushTime()
    {
        return pushTime;
    }
    public void setExpirationDate(Date expirationDate)
    {
        this.expirationDate = expirationDate;
    }

    public Date getExpirationDate()
    {
        return expirationDate;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setJumpLink(String jumpLink)
    {
        this.jumpLink = jumpLink;
    }

    public String getJumpLink()
    {
        return jumpLink;
    }
    public void setLinkTitle(String linkTitle)
    {
        this.linkTitle = linkTitle;
    }

    public String getLinkTitle()
    {
        return linkTitle;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("adTitle", getAdTitle())
            .append("client", getClient())
            .append("chineseImage", getChineseImage())
            .append("englishImage", getEnglishImage())
            .append("pushTime", getPushTime())
            .append("expirationDate", getExpirationDate())
            .append("createTime", getCreateTime())
            .append("status", getStatus())
            .append("jumpLink", getJumpLink())
            .append("linkTitle", getLinkTitle())
            .toString();
    }
}
